<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use App\Http\Services\PlatformService;
use App\Http\Traits\ResponseJson;

class PlatformController extends Controller
{
    use ResponseJson;

    protected $platformService;

    public function __construct(PlatformService $platformService)
    {
        $this->platformService = $platformService;
    }


    public function resourceList()
    {
        $data = $this->platformService->resourceList();
        return $this->returnJson($data);
    }


}
